﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using DTO;

namespace DAO
{
    public class DataProvider
    {

        public static SqlConnection ConnectionData()
        {
            string connectionString = "Data Source=.\\SQLEXPRESS;Initial Catalog=CUAHANGHOA_VD;Integrated Security=True";
            SqlConnection cn = new SqlConnection(connectionString);
            cn.Open();
            return cn;
        }
    }
}